<!DOCTYPE html>
<html lang="id">
  
    <head>
        <meta name="robots" content="noindex">
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        
        <link rel="icon" href="<?php echo base_url('themes/apotek/images/favicon.png') ?>">

        <title><?php echo $layout_title . '' . site_title(); ?></title>
        <meta name="description" content="<?php echo $meta_desc; ?>">
        <meta name="author" content="<?php echo site_title(); ?>">

        <link href="<?php echo base_url('themes/apotek/css/bootstrap.css'); ?>" rel="stylesheet">
        <link href="<?php echo base_url('themes/apotek/fonts/fontawesome/css/font-awesome.css'); ?>" rel="stylesheet">
        <link href="<?php echo base_url('themes/apotek/css/custom.css'); ?>" rel="stylesheet">
        <link href="<?php echo base_url('themes/apotek/bundle/radio-checkbox/build.css'); ?>" rel="stylesheet">

        <link href="<?php echo base_url('themes/apotek/css/non-responsive.css'); ?>" rel="stylesheet">

        <?php 
          if(isset($layout_includes['css']) AND count($layout_includes['css']) > 0):
            foreach($layout_includes['css'] as $css): 
        ?>
        <link href="<?php echo $css['file']; ?>" rel="stylesheet" <?php echo ($css['options'] === NULL ? '' : ' media="' . $css['options'] . '"'); ?>>
        <?php 
            endforeach;
          endif; 
        ?>

        <!--[if lt IE 9]><script src="<?php echo base_url('themes/apotek/js/ie8-responsive-file-warning.js'); ?>"></script><![endif]-->

        <!--[if lt IE 9]>
          <script src="<?php echo base_url('themes/apotek/js/html5shiv.min.js'); ?>"></script>
          <script src="<?php echo base_url('themes/apotek/js/respond.min.js'); ?>"></script>
        <![endif]-->
        
        <script src="<?php echo base_url('themes/apotek/js/jquery.min.js'); ?>"></script>
        
        <?php 
        if(isset($layout_includes['js']) AND count($layout_includes['js']) > 0):
          foreach($layout_includes['js'] as $js):
            if($js['options'] !== NULL AND $js['options'] == 'header'): 
        ?>
        <script src="<?php echo $js['file']; ?>"></script>
        <?php 
            endif; 
          endforeach;
        endif;
        ?>
    </head>

    <body>